using System.Collections.Generic;
using SalesAndStoreApp.DAL.DAO;
using SalesAndStoreApp.DAL.Gateway;

namespace SalesAndStoreApp.BLL
{
    public class VendorManager
    {
        private VendorGateway vendorGateway = new VendorGateway();

        public List<Vendor> GetAll()
        {
            return vendorGateway.GetAll();

        }

        public Vendor GetById(int id)
        {
            return vendorGateway.GetById(id);
        }
    }
}